package com.my.swas.sso.module.admin.mapper;

import com.my.swas.common.base.MyBaseMapper;
import com.my.swas.sso.module.admin.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @author: :MaYong
 */
public interface MenuMapper extends MyBaseMapper<Menu> {

    List<Menu> queryAll();

    List<Menu> loadUserResources(@Param("list") List<Long> roleIds);

    List<Menu> queryResourcesListWithSelected(Long rid);

}